from flask import Flask
import views
from lazy_view_help import LazyView

app = Flask(__name__)
# app.add_url_rule('/', view_func=views.index)
# app.add_url_rule('/user/<username>', view_func=views.user)

app.add_url_rule('/', view_func=LazyView('views.index'))
app.add_url_rule('/user/<username>', view_func=LazyView('views.user'))

app.run()